<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js"></script>
    <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <link rel="stylesheet" href="{{asset('css/novel.css')}}">
</head>
<body>
    <div class="">
        <p style="padding: 25px;font-size: medium;color: #337ab7;">{!! $content !!}</p>
    </div>
    <div style="font-size: medium;color: #337ab7;padding: 25px">
        @if($chapter_id > $min_chapter)
            <a href="{{url('content',['chapter_id'=>$chapter_id-1,'novel_id'=>$novel_id])}}"><b>上一章</b></a>
        @elseif($chapter_id == $min_chapter)
            <b>上一章</b>
        @endif
            &nbsp&nbsp&nbsp&nbsp<a href="{{url('chapter',['novel_id'=>$novel_id])}}"><b>目录</b></a>&nbsp&nbsp&nbsp&nbsp
        @if($chapter_id < $max_chapter)
            <a href="{{url('content',['chapter_id'=>$chapter_id+1,'novel_id'=>$novel_id])}}"><b>下一章</b></a>
        @elseif($chapter_id == $max_chapter)
            下一章
        @endif
    </div>

</body>
</html>